package com.hoshiibuy.cms.common.dataobject;

import com.hoshiibuy.cms.common.enums.StatusEnum;
import com.hoshiibuy.sys.common.UserResponseDO;

import lombok.Data;

@Data
public class CommentDO {

    private Long id;

    /**
     * 评论内容
     */
    private String content;

    /**
     * IP
     */
    private String ip;

    /**
     * 状态
     */
    private StatusEnum status;

    /**
     * 评论姓名
     */
    private String username;

    /**
     * 父评论ID
     */
    private Long pid;

    /**
     * 文章ID
     */
    private Long articleId;

    private UserResponseDO author;

    /**
     * 作者ID
     */
    private Integer creator;

    private Long addTime;

    private Long updateTime;

    private String addTimeText;

    private String updateTimeText;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public StatusEnum getStatus() {
		return status;
	}

	public void setStatus(StatusEnum status) {
		this.status = status;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public Long getArticleId() {
		return articleId;
	}

	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}

	public UserResponseDO getAuthor() {
		return author;
	}

	public void setAuthor(UserResponseDO author) {
		this.author = author;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Long getAddTime() {
		return addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public String getAddTimeText() {
		return addTimeText;
	}

	public void setAddTimeText(String addTimeText) {
		this.addTimeText = addTimeText;
	}

	public String getUpdateTimeText() {
		return updateTimeText;
	}

	public void setUpdateTimeText(String updateTimeText) {
		this.updateTimeText = updateTimeText;
	}
    
    
}
